
package dormouse.vfs.ui;

import javax.swing.plaf.ComponentUI;

import org.apache.commons.vfs2.FileFilter;
import org.apache.commons.vfs2.FileObject;

/**
 * Pluggable look and feel interface for <code>JFileChooser</code>.
 *
 * @version 1.19 12/19/03
 * @author Jeff Dinkins
 */

public abstract class FileChooserUI extends ComponentUI
{
    public abstract FileFilter getAcceptAllFileFilter(VFSFileChooser fc);
    public abstract FileView getFileView(VFSFileChooser fc);

    public abstract String getApproveButtonText(VFSFileChooser fc);
    public abstract String getDialogTitle(VFSFileChooser fc);

    public abstract void rescanCurrentDirectory(VFSFileChooser fc);
    public abstract void ensureFileIsVisible(VFSFileChooser fc, FileObject f);
}

